<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>测试浮动</title>
    <style>
        div.fixed{
            position: fixed;
            right:5px;
            bottom:10px;
        }
    </style>
</head>
<body>
<div class="fixed"><img src="images/npx.jpg"></div>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>
<div style="width:500px;height: 1000px;">asfasfdasdfsd</div>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>

</body>
</html>